#ifndef DRAWSIM_H
#define DRAWSIM_H

#include <QBrush>
#include <QPen>
#include <QPainter>
#include <QFrame>
#include <QtGui/QWidget>

class DrawSim : public QWidget
{
    Q_OBJECT
public:
    DrawSim( QWidget *parent=0 );

    void setFrameShape(QFrame::Shape){}
    void setFrameShadow(QFrame::Shadow){}

    int sendRecvIdle[99]; //set 2 for sending, 1 for Receiving, 0 for Idle

    int status;
    int columns;
    int masters;
    int zoom;
    int x;
    int y;

public slots:
    void setPen(const QPen &pen);
    void setBrush(const QBrush &brush);

    void ethernetStatus(int);
    void masterAction(int, int);
    void changeMasters( int );
    void changeZoom(int );

protected:
    void paintEvent( QPaintEvent * );

private:
     QPen pen;
     QBrush brush;

};

#endif // DRAWSIM_H
